package com.cy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("sys_emps")
@JsonIgnoreProperties(ignoreUnknown=true) //表示JSON转化时忽略未知属性
public class SysEmp implements Serializable {
    @TableId(type = IdType.AUTO)
    private   Integer id;
    private   String  name ;
    private   String deptId;
    private  Integer roleId  ;
    private String sex;
<<<<<<< HEAD
    private  Integer cardId;
    private  String maritalstatus;
    private String race;
    private String politic;
    private  String adress;
    private Integer tel;
=======
    private  Character cardId;
    private  String maritalStatus;
    private String race;
    private String politic;
    private  String adress;
    private String tel;
>>>>>>> 077350d86a1907fe0d7e568d7e4251032549d4f8
    private String email;
    private String education;
    private String school;
    private String specialty;
<<<<<<< HEAD
    private Date beginworktime;
    private String contract;
    private String workstate;
=======
    private Date beginWorkTime;
    private String contract;
    private Character workState;
>>>>>>> 077350d86a1907fe0d7e568d7e4251032549d4f8
}
